<legend class='hyc-legend'>
    <i class="fa fa-list-ol"></i>&nbsp;
    <span>运单列表</span>
</legend>
<div class="row">
    <div class="col-md-1 text-right top7">订单号</div>
    <div class="col-md-3">
        <div class="form-group">
            <input type="text" class="form-control hyc-color" ng-model="wayBill.orderCode" placeholder="订单号">
        </div>
    </div>
    <div class="col-md-1 text-right top7">手机号</div>
    <div class="col-md-3">
        <div class="form-group">
            <input type="text" class="form-control hyc-color" ng-model="wayBill.phone" placeholder="手机号">
        </div>
    </div>
    <div class="col-md-4">
        <div class="form-group text-right">
            <div class="btn btn-default btn-sm btn-warning" ng-click="loadData('query')">查询</div>&nbsp;&nbsp;&nbsp;
            <div class="btn btn-default btn-sm" ng-click="clearQuery()">重置</div>
        </div>
    </div>
</div>
<table class="table table-bordered" style="margin-top: 10px;">
    <tr>
        <th class="text-center">用户名</th>
        <th class="text-center">手机号</th>
        <th class="text-center">订单号</th>
        <th class="text-center">出发地省</th>
        <th class="text-center">出发地市</th>
        <th class="text-center">目的地省</th>
        <th class="text-center">目的地市</th>
        <th class="text-center">运单状态</th>
        <th class="text-center">操作</th>
    </tr>
    <tr ng-repeat="item in waybillList track by $index" ng-if="waybillList.length > 0">
        <td class="text-center">{{item.realName}}</td>
        <td class="text-center">{{item.phone}}</td>
        <td class="text-center">{{item.orderCode}}</td>
        <td class="text-center">{{item.departureProvince}}</td>
        <td class="text-center">{{item.departureCity}}</td>
        <td class="text-center">{{item.destProvince}}</td>
        <td class="text-center">{{item.destCity}}</td>
        <td class="text-center">{{item.waybillStatusText}}</td>
        <td class="text-center">
            <a href="javascript:;" ng-click="showRouteModal(item.id)">查看在途</a>
        </td>
    </tr>
    <tr ng-if="waybillList.length <= 0">
        <td colspan="9">
            <div class="hyc-color text-center">
                暂无符合条件的数据
            </div>
        </td>
    </tr>
</table>
<div ng-include="pageIncludeUrl" ng-if="waybillList.length > 0"></div>
